package com.springboot.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * HelloController
 *
 * @author jlicc
 * @create 2017-03-20-11:10
 **/
@Controller
@RequestMapping(value="/hello")
public class HelloController {
    @RequestMapping("/")
    public String index() {
        return "index/index";//访问index文件夹下index.html
    }
    @RequestMapping("/hello")
    public String hello() {
        return "hello";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

}
